package com.token.model.dto;

/**
 * @auther: henriy
 * @Date: 2023/11/21
 */
public class Point {
    public double x;
    public double y;

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
        System.out.print("(" + x + "," + y + ") ");
    }

    public static Point instance(double x, double y) {
        return new Point(x, y);
    }

}
